package com.liang.service;

import com.github.pagehelper.PageInfo;
import com.liang.entity.User;
import com.liang.utils.Result;

public interface UserService {

    User getUserById(Integer id);

    Result<User> login(User user);

    PageInfo<User> getAllByPage(Integer pageNum, Integer pageSize);
}
